package soft.edu.service;


import soft.edu.common.ServerResponse;
import soft.edu.pojo.SchUniAndMaj;
import soft.edu.pojo.SchUniversity;

import java.util.List;

public interface SchUniversityService {
    //获取所有院校信息
    public ServerResponse<List<SchUniversity>> getAll();

    //根据搜索框查找信息
    public ServerResponse<List<SchUniversity>> getAllbySearch(String keywords);

    //根据条件筛选信息
    public ServerResponse<List<SchUniversity>> getAllbyFiltrate(
            String city,String is_211,String is_985,String is_graduate_school,
            String is_self_line);

    //返回根据专业检索后的院校信息
    public ServerResponse<List<SchUniAndMaj>> getInfoByUniAndMaj(String maj_name);

}
